package com.andnnl.event.listener;

import com.andnnl.event.events.Event;

/**
 * 事件监听器通用接口
 * Created by chenss on 2021/5/11.
 */
@FunctionalInterface
public interface EventListener<T extends Event> {
    public void handleEvent(T event);
}
